﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="main/public :: #public_head">
</head>
<body>
<!--头部-->
<header class="publicHeader" id="public_header">
    <h1>血库管理系统 之 患者管理</h1>
    <div class="publicHeaderR">
        <p><span style="color: #fff21b"> [[${session.loginUser.p_name}]]</span> , 欢迎你！</p>
        <a th:href="@{/logout}" href="../main/login.html">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime" th:replace="main/public :: #public_time">
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left" id="public_left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li th:id="${activeUri == 'patient' ? 'active': ''}"><a th:href="@{/patients/} + ${session.loginUser.p_id} " >个人信息查看</a></li>
                <!--<li th:id="${activeUri == 'patient' ? 'active': ''}"><a th:href="@{/patients/} + ${session.loginUser.p_id} " >个人信息修改</a></li>-->
                <li th:id="${activeUri == 'pwd' ? 'active': ''}" ><a th:href="@{/patient/pwd}" href="../main/password.html">密码修改</a></li>
                <li ><a th:href="@{/logout}" href="../main/login.html">退出系统</a></li>
            </ul>
        </nav>
    </div>
    <div class="right">
        <div class="wFont">
            <h3 th:text="${session.loginUser.p_name}">Admin</h3><br>
            <p>欢迎来到血库管理系统 之 患者管理</p>
            <!--公用-->
            <!--<table class="providerTable" cellpadding="0" cellspacing="0">
                <tr class="firstTr">
                    <th width="10%" >编号:</th>
                    <th width="15%">姓名:</th>
                    <th width="5%">性别:</th>
                    <th width="5%">年龄:</th>
                    <th width="10%">血型:</th>
                    <th width="25%">住址:</th>
                    <th width="30%">电话:</th>
                    <th width="30%">密码:</th>
                    &lt;!&ndash;<th width="30%">余额:</th>&ndash;&gt;
                    <th width="20%" >操作:</th>
                </tr>
                <tr>
                    <td th:text="${session.loginUser.p_id}"></td>
                    <td th:text="${session.loginUser.p_name}"></td>
                    <td th:text="${session.loginUser.p_sex== 1 ? '男' : '女'}"></td>
                    <td th:text="${session.loginUser.p_age}"></td>
                    <td th:text="${session.loginUser.p_blood}"></td>
                    <td th:text="${session.loginUser.p_address}"></td>
                    <td th:text="${session.loginUser.p_tel}"></td>
                    <td th:text="${session.loginUser.p_password}"></td>
                    &lt;!&ndash;<td th:text="${session.loginUser.p_doctor}"></td>&ndash;&gt;
                    <td>
                        <a th:href="@{/patients/} + ${session.loginUser.p_id} " ><img th:src="@{/img/read.png}" src="../img/read.png" alt="查看" title="查看"/></a>
                    </td>
                </tr>
            </table>-->
            <span id="hours"></span>
        </div>
    </div>
</section>

<footer class="footer">
    <div style="text-align:center;"><p><a href="http://www.baidu.com/" target="_blank">一个聪明的哈皮 www.baidu.com</a>
        版权所有</p></div>
</footer>

</body>
</html>